<?php
class Device extends Base_model
{
	function __Construct()
	{
		parent::__Construct();
		$this->init("device","id_device","id_device");		
	}
	
	function get_new_id()
	{
		//create new id	
	}
	
	function save()
	{
		//save device
	}
	
}
?>